package common.post.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

import common.customer.bean.Customer;
import common.system.bean.Area;
import common.system.bean.City;

public class SInfo implements Serializable{
	private static final long serialVersionUID = 5174325846860754917L;
	private int id;
	private String type;
	private String title;
	private String content;
	private Set<Contacts> contacts;
	private String pics;
	private City city;
	private Area area;
	private long publishTime;
	private int haoping;
	private int zhongping;
	private int chaping;
	private int click;
	private int reply;
	private boolean tuijian=false;
	private boolean niming=false;
	private Customer publisher;
	private boolean vip;
	//用来存值，不错数据库映射
	private List<String> photos;
	//用来存值,不做数据库映射
	private String publishDate;
	
	//getter and setter方法
	
	public City getCity() {
		return city;
	}
	public List<String> getPhotos() {
		return photos;
	}
	public void setPhotos(List<String> photos) {
		this.photos = photos;
	}
	public Area getArea() {
		return area;
	}
	public void setArea(Area area) {
		this.area = area;
	}
	public void setCity(City city) {
		this.city = city;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Set<Contacts> getContacts() {
		return contacts;
	}
	public void setContacts(Set<Contacts> contacts) {
		this.contacts = contacts;
	}
	public String getPics() {
		return pics;
	}
	public void setPics(String pics) {
		this.pics = pics;
	}
	public long getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(long publishTime) {
		this.publishTime = publishTime;
	}
	public int getHaoping() {
		return haoping;
	}
	public void setHaoping(int haoping) {
		this.haoping = haoping;
	}
	public int getZhongping() {
		return zhongping;
	}
	public void setZhongping(int zhongping) {
		this.zhongping = zhongping;
	}
	public int getChaping() {
		return chaping;
	}
	public void setChaping(int chaping) {
		this.chaping = chaping;
	}
	public boolean isTuijian() {
		return tuijian;
	}
	public void setTuijian(boolean tuijian) {
		this.tuijian = tuijian;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public boolean isNiming() {
		return niming;
	}
	public void setNiming(boolean niming) {
		this.niming = niming;
	}
	public Customer getPublisher() {
		return publisher;
	}
	public void setPublisher(Customer publisher) {
		this.publisher = publisher;
	}
	public String getPublishDate() {
		return publishDate;
	}
	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}
	public boolean isVip() {
		return vip;
	}
	public void setVip(boolean vip) {
		this.vip = vip;
	}
	public int getClick() {
		return click;
	}
	public void setClick(int click) {
		this.click = click;
	}
	public int getReply() {
		return reply;
	}
	public void setReply(int reply) {
		this.reply = reply;
	}
	
}
